import camera from '@dfeidao/atom-mobile/image-crop-picker/camera';
import { IFeidaoAiMobile } from '@dfeidao/atom-mobile/interfaces';
import set from '@dfeidao/atom-mobile/local/set';
import { Image } from 'react-native-image-crop-picker';

export default async function a001(fd: IFeidaoAiMobile) {
	const img = await camera({
		width: 300,
		height: 400,
		cropping: false
	}) as Image;
	console.log('-------------------------------', img);
	set(fd, 'img', img.path);
}
